{ $html->open_table('','box','margin-top:25px;') }
{if $smarty.get.view eq "playlist"}
  <h2 id="playlist_loader">Loading playlist...</h2>
{else}
    <h2 id="track_id"><a title="{$track_info->title}'s permalink" href="index.php?view=track&amp;action=listen&amp;tid={$track_info->id}">{$track_info->title}</a></h2>
    <table id="info_title">
    <tr><td>
      <img id="coverimage" title="{$track_info->title}, part of {$track_info->release_title}" alt="{$track_info->title}, part of {$track_info->release_title}" src="{if isset($track_info->coverimage) AND $track_info->coverimage != 'NO_IMAGE'}{$track_info->coverimage}{elseif isset($track_info->picture) AND $track_info->picture != null AND $track_info->picture != 'NO_PICTURE'}{$track_info->picture}{else}/img/nocover.jpg{/if}" />
    </td><td id="info_right">
      <div id="by">by <i><a href="index.php?view=artist&amp;action=listen&amp;aid={$track_info->artist_id}">{$track_info->artist}</a></i></div>
      <div id="release">{if $track_info->release_id}part of <i><a href="index.php?view=release&amp;action=listen&amp;rid={$track_info->release_id}">{$track_info->release_title}</a></i>{/if}</div>
      <div id="stats">
      this track has been played {$track_info->played_times} times<br />
      since <a href="index.php?view=user&amp;action=listen&amp;uid={$track_info->uid}" title="See what else this user has to offer!"><img src="img/icons/user.png" alt=""/>{$track_info->submitter}</a> added it
      <br />on <a href="?view=track&amp;action=filter&amp;time={$track_info->time_added}" title="See what else was added on this date!">{$time_added}</a>{if $track_info->favs>0}<br />
      and it's <img src="img/icons/heart.png" title="enjoyed" alt="enjoyed" /> by <a href="javascript:Listen.showFavs({$track_info->id})"><strong>{$track_info->favs}</strong> {if $track_info->favs>1}people{else}person{/if}</a>{/if}
      </div>
    </td></tr>  
    </table>
{/if}
{ $html->close_table() }